package manage.action;

import m.common.action.ActionMeta;
import m.common.action.VuePageResult;
import m.common.action.VueResult;
import m.common.model.document.DocumentModelUtil;
import m.system.document.DocumentUtil;

@ActionMeta(name="manage/developer")
public class DeveloperAction extends ManageAction {
	
	public VueResult toIndex() throws Exception{
		verifyMenu("A1109");
		verifyAdminOperPower("manage_system_power");
        return new VuePageResult("page/base/developer/index.js")
			.addParam("models", DocumentModelUtil.documentList())
			.addParam("actions", DocumentUtil.documentList());
	}

}
